<extend name="base"/>

<block name="content">
        <div class="classset"> 
         <ul class="nav nav-tabs">
            <li>
              <a href="{:U('student')}">班级学生管理</a>
            </li>
            <li>
              <a href="{:U('student0')}">未注册学生</a>
            </li>
            <li class="active">
              <a href="{:U('member')}">学生位置</a>
            </li>
          </ul>
          
             <!-- <legend>{$thistitle}</legend>   -->  
             <h3>{$thistitle}</h3>                   
               <form class="form-horizontal form-condensed" role="form" method="get" id="classform" name="classform" action="">          
                 <div class="form-group">
                    <label class="col-md-2 control-label required">班 级：</label>
                      <div class="col-md-6">
                         <select name="bj_code" class="form-control"  style="width:210px;" role="form" onchange="this.form.submit()">
                             <option value="{$cur.bj_code}" >{$cur.bj_code}</option> 
                             <volist name="classlist" id="v">
                                <option value="{$v.bj_code}" >{$v.bj_name}</option>            
                             </volist>                          
                        </select>
                      </div> 
                      <input id="submit" class="btn btn-primary" value="提交"  type="submit" >
                    </div>

                    </form>
                    
                    
                    <table class="table table-bordered">
                    <thead>
                    <tr>
                      <th>#ID</th><th>班级</th><th>学号</th><th>姓名</th><th>座位号</th><th>最后登录IP</th>
                      <th>最近登录</th><th>操作</th>
                    </tr>
                    </thead>
                    <tbody>
                    <volist name="list" id="v">
                    <tr>
                      <td>{$v.id}</td><td>{$v.bj_code}</td><td>{$v.st_code}</td>
                      <td><a href="{:U('Admin/user/index',array('nickname'=>$v['id']))}">{$v.name}</a>
                      </td><td>{$v.pc}</td>
					  <td>{$v.last_login_ip|long2ip}</td><td>{$v.last_login_time|time_format}</td>
                      <td><a href="">编辑</a>｜<a href="">删除</a></td>
                      </tr>
                      </volist>               
                    </tbody>
                    </table>

        
       </div>
 </block>